package main

import "fmt"

//求阶乘 1*2*3*4*5*6

func Rescuvie(n int) int {
	if n == 1 {
		return 1
	}
	return n * Rescuvie(n-1)
}

func main() {
	n := 10
	sum := Rescuvie(n)
	fmt.Println(sum)
}
